<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
<script>
     let num = prompt('请输入数字')

     if(num >= 97 && num <= 122){
        document.write('输入的是小写')
     }else if(num >= 65 && num <= 90){
        document.write('输入的是大写')
     }else{
        document.write('输入的不是英文字母')
     }
</script>
</body>

</html>